﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="EstatePage.aspx.cs" Inherits="EstatePage" %>

<%@ Import Namespace="System.Collections.Generic" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div>
        <ext:TabPanel ID="TabPanel1" runat="server" ActiveTabIndex="0" PaddingSummary="5px 5px 0"
            Width="790px" Height="600" Plain="true">
            <Items>
                <ext:Panel ID="Tab1" runat="server" Title="Details" Padding="6" AutoScroll="true">
                    <Items>
                        <ext:TableLayout ID="TableLayout1" runat="server" Columns="2">
                            <Cells>
                                <ext:Cell RowSpan="1">
                                    <ext:Panel ID="Panel1" runat="server" Title="Image" Padding="15">
                                        <Items>
                                            <ext:Image ID="Image1" runat="server" Width="320" Height="320" ImageUrl="http://static.dezeen.com/uploads/2009/03/fujimori-yakisugi-house-charcoal-house-7.jpg">
                                            </ext:Image>
                                        </Items>
                                    </ext:Panel>
                                </ext:Cell>
                                <ext:Cell RowSpan="1">
                                    <ext:Panel ID="Panel2" runat="server" Title="Info" Width="300" Padding="15" Html="<font face='verdana' size='2'>Nutty From Rooftop<br/>Condition: For Sale<br/>Room: 5+1<br>Price: 25000$<br>Type: Home<br>City: Mersin<br>Town: Yenisehir<br>m2: 225<br>Announcement Date: 09.12.2011</font>">
                                    </ext:Panel>
                                </ext:Cell>
                                <ext:Cell ColSpan="2">
                                    <ext:Panel ID="Panel3" runat="server" Title="Explanation" Padding="15" Html="Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.<br>Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation.Explanation." />
                                </ext:Cell>
                            </Cells>
                        </ext:TableLayout>
                    </Items>
                </ext:Panel>
                <ext:Panel ID="Panel4" runat="server" Title="Contact" PaddingSummary="5px 5px 0"
                    Width="790px" Frame="true" ButtonAlign="Center" Layout="Form">
                    <Items>
                        <ext:TextField ID="TextField1" runat="server" FieldLabel="Name Surname" AllowBlank="false"
                            AnchorHorizontal="100%" />
                        <ext:TextField ID="TextField2" runat="server" FieldLabel="Your e-mail address" Vtype="email" AllowBlank="false"
                            AnchorHorizontal="100%" />
                        <ext:TextField ID="TextField3" runat="server" FieldLabel="Subject" AllowBlank="true"
                            AnchorHorizontal="100%" />
                        <ext:TextField ID="TextField4" runat="server" FieldLabel="Your Mobile Phone" AllowBlank="false"
                            AnchorHorizontal="100%" />
                        
                        <ext:TextArea ID="TextField9" runat="server" FieldLabel="Content" AnchorHorizontal="100%"
                            AllowBlank="false" />
                    </Items>
                    <Buttons>
                        <ext:Button ID="Button1" runat="server" Text="Send" />
                        <ext:Button ID="Button2" runat="server" Text="Cancel" />
                    </Buttons>                    
                </ext:Panel>
                
            </Items>
        </ext:TabPanel>
    </div>
</asp:Content>
